#include "Player.h"

void Player::ChooseJet(Jet* jet)
{
    m_jet = NULL;
    m_track = NULL;
    m_root = NULL;

    m_jet = jet;
    jet->SetOwner(this);
}
void Player::SetName(const std::string& name)
{
    m_name = name;
}
void Player::Update(float timedelta)
{
    m_jet->Update(timedelta);
}
void Player::SetRank(unsigned int rank)
{
    m_rank = rank;
}
unsigned int Player::GetRank()
{
    return m_rank;
}
